package com.yaowk.system.common;

import com.yaowk.common.generator.AbstractCacheGenerator;

public final class SystemGenerator extends AbstractCacheGenerator {

    private SystemGenerator(String[] tableNames, String tableName) {
        super(tableNames, tableName);
    }

    public static void main(String[] args) {

        // 需要生成model的表名
        String[] tableNames = new String[]{"sys_user", "sys_menu", "sys_role", "sys_role_menu", "sys_user_role", "sys_platform", "sys_user_platform", "sys_file"};

        new SystemGenerator(tableNames, "sys_").generator();
    }
}
